package com.pandy.design.singleton;

/**
 * @description: 单例设计模式
 * @author: panhong
 * @date: 2025/4/27
 */
public class Main {

    public static void main(String[] args) {
        Person p1 = Person.getInstance();

        Person p2 = Person.getInstance();

        System.out.println(p1 == p2);
    }
}
